<ion-view class="register-view" view-title="终端注册">
    <ion-content scroll="false">
        <div class="im-flow-container">
            <div class="row im-master-item im-flow-item register-item">
                <div class="im-item-title">IMEI</div>
                <div class="col">{{data.uuid}}</div>
            </div>
            <div class="row im-master-item im-flow-item register-item">
                <div class="im-item-title">MAC</div>
                <div class="col">{{data.mac}}</div>
            </div>
            <div class="row im-master-item im-flow-item register-item">
                <div class="im-item-title">IP地址</div>
                <div class="col">{{data.ip}}</div>
            </div>
            <div class="row im-master-item im-flow-item register-item">
                <div class="im-item-title">终端工位</div>
                <div class="col register-input-col" ng-click="selectStation()">
                    <input type="text" placeholder="请选择终端工位" readonly="true" ng-model="data.workLocationName">
                    <i class="icon ion-chevron-right"></i>
                </div> 
            </div>
        </div>
        <div class="register-tip" ng-if="data.hasLastRegister">
            <span>友情提示：最近一次终端设备注册信息时间是</span>
            <span>{{ data.lastRegisterTime | date:'yyyy-MM-dd HH:mm:ss' }}</span>
            <span>{{'【' + data.lastRegisterStation + '】'}}</span>
        </div>
    </ion-content>
    <ion-footer-bar>
        <im-pull-right>
            <button class="button register-button" ng-click="registerTerminal()">确认</button>
        </im-pull-right>
    </ion-footer-bar>
</ion-view>